package com.cgbl.service.adapter

import com.cgbl.service.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.robot.base.model.TeamListBean
import com.robot.base.utils.pic.ImageLoaderUtils

class HomeTeamAdapter() :
    BaseQuickAdapter<TeamListBean, BaseViewHolder>(R.layout.app_item_home_team) {

    override fun convert(holder: BaseViewHolder, item: TeamListBean) {
//        ImageLoaderUtils.display(context,holder.getView(R.id.iv_cover),item.)
        holder.setText(R.id.tv_team_name, item.teamName)
        holder.setText(R.id.tv_count, "${item.accountCount ?: "0"}人")
    }

}